﻿<Window x:Class="SqlServerMaintenanceSolution.Views.MainScreen"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:sys="clr-namespace:System;assembly=mscorlib"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"   
        xmlns:tabData="clr-namespace:SqlServerMaintenanceSolution.Views"
        Title="Sql Server Maintenance Monitor" Height="670" Width="900"
        WindowStartupLocation="Manual" Icon="..\Images\TitleIcon.png" 
        Left="170" Top="20">
    <Window.Resources>



    </Window.Resources>
    <Grid>
        <TabControl TabStripPlacement="Left">
            <TabControl.Resources>
                <Style TargetType="{x:Type TabItem}">
                    <Setter Property="HeaderTemplate">
                        <Setter.Value>
                            <DataTemplate>
                                <ContentPresenter Content="{TemplateBinding Content}">
                                    <ContentPresenter.LayoutTransform>
                                        <RotateTransform Angle="270" />
                                    </ContentPresenter.LayoutTransform>
                                </ContentPresenter>
                            </DataTemplate>
                        </Setter.Value>
                    </Setter>
                    <Setter Property="Padding" Value="3" />
                </Style>
            </TabControl.Resources>
            <TabItem Header="Disk Space">
                <tabData:DiskSpaceTab DataContext="{Binding DiskSpaceViewModel}"  Height="Auto" Width="Auto" Margin="0,8,0,-2"/>
            </TabItem>
            <!--DataContext="{Binding DiskSpaceViewModel}"-->
            <TabItem Header="Integrity">
                <tabData:IntegrityTab DataContext="{Binding IntegrityViewModel}"  Height="Auto" Width="Auto" Margin="0,8,0,-2"/>
            </TabItem>
            <TabItem Header="Indexes">
                <tabData:IndexFragmentTab DataContext="{Binding IndexFragmentViewModel}"  Height="Auto" Width="Auto" Margin="0,8,0,-2"/>
            </TabItem>
            <TabItem Header="Security" />
            <TabItem Header="Details" />
        </TabControl>
    </Grid>
</Window>
